package com.mysen.sso.dao.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.mysen.sso.model.Permission;

public interface PermissionMapper {

    int selectCount(Permission record);
    List<Permission> selectByPage(Permission record);
    Permission selectById(String buildingId);
    int deleteById(String buildingId);
    int updateById(Permission record);

    int insert(Permission record);
	List<Permission> selectTree(@Param("pId") String pId);
}